<script setup lang="ts">
import { ref } from 'vue';
import OilPrice from "../components/OilPrice.vue";
import GoldPrice from "../components/GoldPrice.vue";
const active = ref(0);
</script>

<template>
  <main>
    <van-tabs v-model:active="active">
      <van-tab title="油价">
        <OilPrice />
      </van-tab>
      <van-tab title="金价">
        <GoldPrice />
      </van-tab>
    </van-tabs>
  </main>
</template>
